<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>Register Page</title>
        <meta charset="UTF-8">  
        <meta name="viewport" content="width=device-width">
        <script src="//code.jquery.com/jquery-1.10.2.js">
        </script>
        <script src="Script/jquery.cookie.js"></script>
        <script>
            $(function(){
                //alert($.cookie('Cname'));
                $('#txtName').val($.cookie('Cname'));
                $.removeCookie('Cname');
                $('#txtEmail').val($.cookie('Cemail'));
                $.removeCookie('Cemail');
            });
                    </script>
        
    </head>
            <body>
             
                  
                <form method="Post" action="Register">
        <div>
            <table>
                <tr>
                    <td>
                        Name:
                    </td>
                    <td>
                        <input type="text" id="txtName" name="txtName"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        Email:
                    </td>
                    <td>
                        <input type="email" id="txtEmail" name="txtemail"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        Country:
                    </td>
                    <td>
                        <select name="country">
                            <option value="Singapore">Singapore</option>
                            <option value="Thailand">Thailand</option>
                            <option value="China">China</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        <input type="checkbox" name="chkrn" value="letter" >
                        Receive Newsletter 
                    </td>
                </tr>
                <tr>
                    <td>
                        Topics:
                    </td>
                    <td>
                        <input type="checkbox" name="chkfood" value="food">
                        food
                <input type="checkbox" name="chkmovie" value="Movie">
                Movie
                <input type="checkbox" name="chksport" value="Sport">
                Sport
                    </td>
                </tr>
                <tr>
                    <td>
                        Gender:
                    </td> 
                    <td>
                        <input type="radio" name="rdogender" value="Male">Male &nbsp;
                        <input type="radio" name="rdogender" value="female">female &nbsp;
                        <input type="radio" name="rdogender" value="Decline">Decline
                       
                        
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td>
                        <input type="submit" name="btnsubmit" value="submit" >&nbsp;
                        <input type="submit" name="btnsave" value="save"  > 
                    </td>
                </tr>
            </table>
        </div>
                
            </form>
    </body>
</html>
